package com.briup.estore.common.dto;


/**
 * @Author briup-adam
 * @Date 2023/7/28 上午11:10
 * @Description 创建订单项数据传输对象
 **/
public class OrderItemCreateDTO {
    /**
     * 书籍ID
     */
    private int bookId;

    /**
     * 书籍数量
     */
    private int num;

    public Integer getBookId() {
        return bookId;
    }

    public void setBookId(Integer bookId) {
        this.bookId = bookId;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    @Override
    public String toString() {
        return "OrderItemCreateDTO{" +
                "bookId=" + bookId +
                ", num=" + num +
                '}';
    }
}
